/* OverlayPage.css */
.page-container {
  position: relative;
  width: 220px;
  height: 380px; /* 设置为视口高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: transform 0.5s ease;
}
.page-container:hover {
  transform: scale(1.03);
}

.main-content {
  z-index: 1; /* 确保主内容在上层 */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 半透明背景 */
  color: white; /* 字体颜色 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* 确保遮罩在上层 */
  border-radius: 5px;
}
